<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>十元易购</title>
<link href="style/index.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="style/animate.min.css">

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>  
<script type="text/javascript" src="js/TouchSlide.1.1.js"></script>
<script src="js/jquery-1.8.3.min.js"></script>
</head>
<body>
<div id="head">
	<div class="center">
		<div id="head-div">
			<ul>
				<li>
					<a href="#banners">
						<div class="a_circle">
							<div class="head-a current" id="B">首页</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
				<li>
					<a href="#introduce">
						<div class="a_circle">
							<div class="head-a" id="I">十元易购</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
				<li>
					<a href="#rhomboidimg">
						<div class="a_circle">
							<div class="head-a" id="R">精选全球</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
				<li>
					<a href="#shop_head">
						<div class="a_circle">
							<div class="head-a" id="S">批量采购</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
				<li>
					<a href="#proof">	
						<div class="a_circle">
							<div class="head-a" id="P">易购联盟</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
				<li>
					<a href="#about_us">	
						<div class="a_circle">
							<div class="head-a head-a6" id="A">关于我们</div>
							<div class="circle"></div>
						</div>
					</a>
				</li>
			</ul>
		</div>
		<span class="head-list">
			<a href="javascript:"><img src="img/list.png"></a>
		</span>
		<span id="logo"><img src="img/logo.png"></span>
		<script type="text/javascript">
			$(document).ready(function(){
			  $(".head-list").click(function(){
			    	if($("#head-div").css("display")=="none"){
						$("#head-div").show();
					}else{
						$("#head-div").hide();
					}
			  });
			   //滚动相应的导航栏的current状态也随之改变
				function head(){
					var  banners_top = $("#banners").offset().top;  
				    var introduce_top = $("#introduce").offset().top; 
				    var rhomboid_top = $("#rhomboid").offset().top; 
				    var shopping_top = $("#shopping").offset().top;
				    var proof_top = $("#proof").offset().top;
				    var about_us_top = $("#about_us").offset().top;
				    $(window).scroll(function(){
				        var scroH = $(this).scrollTop();
				        if(scroH>=about_us_top){ 
				            set_cur("#A");
				        }else if(scroH>=proof_top){ 
				            set_cur("#P"); 
				        }else if(scroH>=shopping_top){ 
				            set_cur("#S"); 
				        }
				        else if(scroH>=rhomboid_top){ 
				            set_cur("#R"); 
				        }
				        else if(scroH>=introduce_top){ 
				            set_cur("#I"); 
				        }
				        else if(scroH>=banners_top){ 
				            set_cur("#B"); 
				        }
				    });
			    	function set_cur(n){ 
					    if($("#head-div ul li a").find(".a_circle").find(".head-a").hasClass("current")){ 
					        $("#head-div ul li a").find(".a_circle").find(".head-a").removeClass("current"); 
					    }
				    	$("#head-div ul li a").find(".a_circle").find(".head-a"+n).addClass("current"); 
					}
				}
				head();
				$('#head-div a').click(function () {
					$(".currunt").removeClass("currunt");
			 		$('html, body').animate({
			 			scrollTop: $($.attr(this, 'href')).offset().top
			 		}, 500);
					return false;
		 		});
			});
		</script>	
	</div>
</div>
<div id="main">
	<div id="banners">
		<div id="focus" class="focus">
			<div class="bd">
				<ul>
					<li><a href="javascript:"><img src="img/buy.jpg"></a></li>
					<li><a href="javascript:"><img src="img/buy.jpg"></a></li>
				</ul>
			</div>
			<div class="hd">
				<ul></ul>
			</div>
		</div>
		 <script type="text/javascript">
			TouchSlide({ 
				slideCell:"#focus",
				titCell:".hd ul",
				mainCell:".bd ul", 
				effect:"left", 
				autoPlay:true,
				autoPage:true,
				switchLoad:"_src"
			});
		 </script>
	</div>
	<div id="introduce">
		<div class="center">
			<div class="subject" >
				<div id="dowebok">
					<div class="third" id="buld">
						<img src="img/01.png" class="images">
						<div class="font-box">
							<div class="bold_font">15款爆品实时订购</div>
							<div class="details">能买更能赚，多产品选择，满足所有消费者需求。</div>
						</div>
					</div>
					<div class="third">
						<img src="img/02.png" class="images">
						<div class="font-box">
							<div class="bold_font">20元起订，轻松盈利</div>
							<div class="details">超低门槛，投入0压力，方向正确可轻松赚取高收益。</div>
						</div>
					</div>
					<div class="third">
						<img src="img/03.png" class="image-3">
						<div class="font-box">
							<div class="bold_font">两种订购方式自由选择</div>
							<div class="details">无论涨跌都能获利，真正实现人人都能赚。</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="rhomboid">
		<div id="select_global">
			<div class="center">
				<img src="img/phone.png" class="phonepng" id="rhomboidimg">
				<ul>
					<li class="european"><div  class="flag"><img src="img/1.png"></div></li>
					<li><div  class="flag"><img src="img/2.png"></div></li>
					<li><div  class="flag"><img src="img/3.png"></div></li>
					<li><div  class="flag"><img src="img/4.png"></div></li>
					<li><div  class="flag"><img src="img/5.png"></div></li>
				</ul>
				<div id="five">
					五大元区，精选全球
				</div>
				<div id="ad">
					原装进口欧洲、英国、澳洲、新西兰、日本5大区优质产品<br>
					涵盖美妆个护、保健品、母婴、红酒食品等多个品类，<br>
					网罗众多海外知名品牌、海量明星爆款，绝对让您买得安心放心!
				</div>
			</div>
		</div>
	</div>
	<div id="shopping">
		<div class="center">
			<div id="shop_head">
				<span class="border">四步订购</span>大法，让你轻松“<span class="red_font">盈</span>”！
			</div>
			<div id="container">
				<div id="itemdescription">
					<li  data-for="phone1">
						第一步
						<div class="step1">在APP首页点击<span class="step_red">“批量订购”</span>。</div>
					</li>
					<li  data-for="phone2">
						第二步
						<div class="step2-4">
							选择外汇区，如您判断英镑汇价上涨，相应的产品选择
							<img src="img/up.jpg" class="up_down">
							反之选择
							<img src="img/down.jpg" class="up_down">
						</div>
					</li>
					<li data-for="phone3">
						第三步
						<div class="step2-4" >
							进入定购页面，选择定购数量，并可选择设置止盈止损，随后点击<span class="step_red">“提交”</span>即可完成下单。
						</div>
					</li>
					<li  data-for="phone4">
						第四步
						<div class="step2-4">
							赚钱了可以选择“定购单”，点击<span class="step_red">“退定”</span>，盈利立即到账。
						</div>
					</li>
				</div>
				<div id="itemlist">
					<img src="img/phone1.png"  id="phone1" class="item-0" />
					<img src="img/phone2.png"  id="phone2" class="item-1" />
					<img src="img/phone3.png"  id="phone3" class="item-2" />
					<img src="img/phone4.png"  id="phone4" class="item-3" />
				</div>
			</div>
		</div>	
	</div>
	<script type="text/javascript">
		function PC(){
			var itemDesc=$('#itemdescription');
			var desc=itemDesc.children('li');
			desc.filter(':first-child').fadeIn();
			var id_box = [];
			$('#itemlist img').each(function(n){
				id_box[n] = $('#itemlist img').eq(n).attr("id");
				$(this).hover(function(){
					clearTimeout(interval); 
					$(this).click(function (){
						var id =$('#itemlist img').eq(n).attr("id");
						var idc=$("#"+id).attr("class");
						var oneid=$(".item-0").attr("id");
						$('#'+id).removeClass().addClass('item-0');
						$('#'+oneid).removeClass().addClass(idc);
						var sid=$(".item-0").attr("id");
						desc.hide();
			      		desc.filter('[data-for=' + sid + ']' ).fadeIn('fast');
			      	})	
				},function(){
					var one_id=$(".item-0").attr("id");
					if(one_id == 'phone1')
					{
						i = 0;
					}else if(one_id == 'phone2')
					{
						i = 1;
					}else if(one_id == 'phone3')
					{
						i = 2;
					}else if(one_id == 'phone4')
					{
						i = 3;
					}
				    run();
				});
			});
			var i = 0;
			var length_id = id_box.length;
			function auto(){
				var s;
				if (i<3) {
					s=i+1;
				}else{
					s=0;
				}
				var ic=$("#"+id_box[i]).attr("class");
				var peric=$("#"+id_box[s]).attr("class");
				$('#itemlist img').eq(i).removeClass().addClass(peric);
				$('#itemlist img').eq(s).removeClass().addClass(ic);
				var sid=$(".item-0").attr("id");
				desc.hide();
			    desc.filter('[data-for=' + sid + ']' ).fadeIn('fast');
				i++;
				i=i%length_id;
			}
			function run(){
				interval=setInterval(auto,3000);
			}
			run();
		}
		if ($(window).width()>800) {
			PC();
		}
	</script>
	<div id="proof">
		<div class="center">
			<img src="img/proof.png" id="proof_img">
			<div class="proof_head">资质齐全，品质保证</div>
			<p class="proof_p">凭借出色定位和卓越运营，十元易购成功成为掌富集团首肯的授权经销商。掌富集团，国内首个能淘金的海淘跨境电商平台，致力于为消费者提供100%正品的境外商品，更领先提出定购功能，满足消费者能买更能赚的双需求，平台创新安全，资证齐全可靠。</p>
		</div>
	</div>
	<div id="about_us">
		<div class="center">
			<div class="left">
				<img src="img/us_logo.png" class="logo-img">
				<div class="logo-font">关于我们</div>
			</div>
			<p class="p1-right">十元信息科技有限公司，起步于一家以广州为基地辐射全国的互联网金融企业。2017年，凭借优越口碑和非凡实力，十元信息探索更多发展可能，依托跨境电商政策优势，深度整合海淘资源与丰富的金融服务经验，成功开发十元易购APP，为消费者带来一个“购真，购赚，购好玩”的创新电商平台及购物体验。</p>
			<p class="p2-right">在十元易购APP，所有上架尖货均采自原产地，确保100%正品，让消费者畅买无忧。同时，创新性地开发定购交易区，提供全球5大热门货币区，每个货币区设置3个规格不一的交易产品供定制，15个商品只需20元起便可定购，在汇率波动的情况下，任一交易方式都能消费者创造盈利，操作十分简单，玩赚轻松有趣！</p>
		</div>
	</div>
	<div id="last">
		<div class="center">
			<div class="left-font">下载十元易购<br>涨的不止是你的购物欲哟</div>
			<div class="QRcode"><img src="img/QRcode.png"></div>
			<div class="right-font">客服qq:2852271398<br>客服微信：sytz10</div>
		</div>
	</div>
	 <script type="text/javascript">
		$(document).ready(function () {	
			function roll(ID,box,animation){
				$(window).scroll(function () {
					var e = $(ID).offset().top;
		 			if (e < ($(window).scrollTop()+$(window).height())){
		 				$(box).addClass(animation);
		 			}
				})
			}
			//把需要加动画效果的块放在一个数组里
			var boxs = ['#dowebok','#five','#ad','#proof_img','.proof_head','.proof_p','.logo-img','.logo-font','.p1-right','.p2-right','.left-font','.QRcode','.right-font'];	
		 	for(var v=0;v<boxs.length;v++){
		 		var box = boxs[v];
		 		if(v==0){
		 			var ID='#introduce';
		 			var animation= 'animated slideInUp';
		 		}
		 	  	else if(v>0 && v<3){
		 			var ID='#five';
		 			if (v==1){
		 				var animation= 'animated slideInLeft';
		 			}else{
		 				var animation= 'animated slideInRight';
		 			}	
		 		}
		 		else if(v>2 && v<6){
		 			var ID='#proof';
		 			if (v==4) {
		 				var animation= 'animated slideInRight';
		 			}else{
		 				var animation= 'animated slideInLeft';
		 			}
		 		}
		 		else if (v>5 && v<10){
		 			var ID='#about_us';
		 			if (v<8) {
		 				var animation= 'animated slideInLeft';
		 			}else{
		 				var animation= 'animated slideInRight';
		 			}
		 		}
		 		else if(v>9){
		 			var ID='#last';
		 			var animation= 'animated slideInUp';
		 		}
		 		//调用roll函数
			 	roll(ID,box,animation);
			}
		})
	</script>
</div>
</body>
</html>